package com.qh.factory.abstracts;

public class Cilent {
    public static void main(String[] args) {
        XiaoMiFactory xiaoMiFactory = new XiaoMiFactory();
        xiaoMiFactory.iphoneProducts().name();
        xiaoMiFactory.iRouterProducts().uName();
        HuaweiFactory huaweiFactory = new HuaweiFactory();
        huaweiFactory.iphoneProducts().name();
        huaweiFactory.iRouterProducts().uName();
    }
}
